package demo;

import java.util.List;

import demo.cache.CacheableMethod;


public interface MemberService {
    public Member findMember(int memberId);
    public MemberNote findMemberNote(int memberNoteId);
    
    @CacheableMethod
    public List<MemberNote> findNotesByMember(Member member);
    
    public void saveOrUpdate(Member member, String note);
    
    public void deleteMember(Member member);

}
